using System;
using System.Collections.Generic;
using System.Text;
using SharpSvn;
using SubManager.Entity;
using System.Collections.ObjectModel;

namespace SubManager.SCMWrapper
{
    public class SubversionManager : ISCMManager
    {
        private SvnClient _svnClient = new SvnClient();

        public bool GetEntry(string url, out List<RepositoryEntryEntity> entry)
        {
            entry = new List<RepositoryEntryEntity>();

            Collection<SvnListEventArgs> lst = new Collection<SvnListEventArgs>();
            bool result =_svnClient.GetList(url, out lst);
            if (!result)
                return false;
            
            // TODO:

            return true;
        }
    }
}
